import 'package:enterprise_v6_app/app/data/common/choice_bean.dart';

///简单的选择基础类
class SimpleChoiceBean extends ChoiceBean {
  SimpleChoiceBean({required this.name, this.id, bool isChecked = false}) {
    setIsChecked(isChecked);
  }

  String? id;
  String name;

  @override
  String getId() {
    return id ?? '';
  }

  @override
  String getShowName() {
    return name;
  }
}
